// vite.config.js
import vue from "file:///D:/work/project/sh/shop2/lilishop-micro-ui-pro/common/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import { resolve } from "path";
import { defineConfig } from "file:///D:/work/project/sh/shop2/lilishop-micro-ui-pro/common/node_modules/vite/dist/node/index.js";
var __vite_injected_original_dirname = "D:\\work\\project\\sh\\shop2\\lilishop-micro-ui-pro\\common";
var vite_config_default = defineConfig({
  server: {
    port: 11e3
  },
  build: {
    outDir: "lib/dist",
    //输出目录名称
    lib: {
      entry: resolve(__vite_injected_original_dirname, "./src/packages/index.js"),
      name: "dist",
      fileName: "dist"
    },
    rollupOptions: {
      external: ["vue"],
      output: {
        // 在 UMD 构建模式下为这些外部化的依赖提供一个全局变量，为了确保在构建后的库文件中能够正确地访问到 Vue 库的 API
        globals: {
          vue: "Vue"
        }
      }
    }
  },
  plugins: [vue()],
  css: {
    preprocessorOptions: {
      less: {
        javascriptEnabled: true
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFx3b3JrXFxcXHByb2plY3RcXFxcc2hcXFxcc2hvcDJcXFxcbGlsaXNob3AtbWljcm8tdWktcHJvXFxcXGNvbW1vblwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRDpcXFxcd29ya1xcXFxwcm9qZWN0XFxcXHNoXFxcXHNob3AyXFxcXGxpbGlzaG9wLW1pY3JvLXVpLXByb1xcXFxjb21tb25cXFxcdml0ZS5jb25maWcuanNcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfaW1wb3J0X21ldGFfdXJsID0gXCJmaWxlOi8vL0Q6L3dvcmsvcHJvamVjd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